package com.github.prontera.model.request;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.domain.enums.OrderTypeEnum;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
 
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class ProductPayRequest extends RestfulRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "商品ID", example = "451845845184514815", required = true)
	private Long productId;// 商品ID
	
	@ApiModelProperty(value = "获取得唐豆豆 ", example = "1", required = true)
	private Integer myBean;// 获取得唐豆豆
	
	@NotNull
	@ApiModelProperty(value = "支付金额 ", example = "1", required = true)
	private Double totalFee;// 支付金额 
	
	@NotNull
	@ApiModelProperty(value = "类型: 0:充值唐豆豆, 1:达人订单, 2:购买VIP ,3:支付参与活动", example = "1", required = true)
	private OrderTypeEnum type;// 类型: 0:充值唐豆豆, 1:达人订单  2:购买VIP 3:支付参与活动
	
	@ApiModelProperty(value = "数量", example = "1", required = true)
	private Integer number;// 数量
	
	public Integer getMyBean() {
		return myBean;
	}
	public void setMyBean(Integer myBean) {
		this.myBean = myBean;
	}
	public Double getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Double totalFee) {
		this.totalFee = totalFee;
	}
	public OrderTypeEnum getType() {
		return type;
	}
	public void setType(OrderTypeEnum type) {
		this.type = type;
	}
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	
}
